package com.liguang.rcs.admin.db.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "dodms_role")
@EqualsAndHashCode(callSuper = true)
public class DodmsRoleEntity extends AbstractEntity {
    @Column(name = "name")
    private String name;
    @Column(name = "[desc]")
    private String desc;
    @Column(name = "enabled")
    private Boolean enabled = Boolean.TRUE;
    @Column(name = "deleted")
    private Boolean deleted = Boolean.FALSE;
}
